package com.feizi.entity;

public class ShopcartEntity {
	private int id;//购物车ID
	private int f_uid;//用户ID外键
	private int f_pid;//产品ID外键
	private String pname;//产品名称
	private String pimg;//商品的图片
	private double price;//单件商品的价格
	private int count;//商品的数量
	private double totalprice;//小计
	private String size;//产品尺码
	
	private String option;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getF_uid() {
		return f_uid;
	}
	public void setF_uid(int f_uid) {
		this.f_uid = f_uid;
	}
	public int getF_pid() {
		return f_pid;
	}
	public void setF_pid(int f_pid) {
		this.f_pid = f_pid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getPimg() {
		return pimg;
	}
	public void setPimg(String pimg) {
		this.pimg = pimg;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public double getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getOption() {
		return option;
	}
	public void setOption(String option) {
		this.option = option;
	}
	public ShopcartEntity(int id, int f_uid, int f_pid, String pname, String pimg, double price, int count,
			double totalprice, String size, String option) {
		super();
		this.id = id;
		this.f_uid = f_uid;
		this.f_pid = f_pid;
		this.pname = pname;
		this.pimg = pimg;
		this.price = price;
		this.count = count;
		this.totalprice = totalprice;
		this.size = size;
		this.option = option;
	}
	public ShopcartEntity() {
		super();
	}
	@Override
	public String toString() {
		return "ShopcartEntity [id=" + id + ", f_uid=" + f_uid + ", f_pid=" + f_pid + ", pname=" + pname + ", pimg="
				+ pimg + ", price=" + price + ", count=" + count + ", totalprice=" + totalprice + ", size=" + size
				+ ", option=" + option + "]";
	}
}
